<%--
  Created by IntelliJ IDEA.
  User: superace
  Date: 2017/8/5
  Time: 17:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录</title>
    <meta charset="UTF-8"/>
    <script src="js/vue.js"></script>
</head>
<body>
    <h1>这是一个登录界面</h1>
    <br>
    <h3 id="app">{{message}}</h3>
    <br>
    <form method="post" action="/getLoginResult">
        <label for="username">用户名：</label>
        <input id="username" name="username" type="text"/><br>
        <label for="passowrd">密码：</label>
        <input id="passowrd" name="passowrd" type="text"/><br>
        <input type="submit" value="登陆"/>
    </form>


    <script>

        new Vue({
            el : '#app',
            data : {
                message:'hello vue'
            }
        })

    </script>

</body>
</html>


